﻿using Autofac;

namespace PLC.Domain.Events.ServiceEvents;

public class AutofacServiceEventModule:Module
{
    // 注册基础aop事件的实现
    protected override void Load(ContainerBuilder builder)
    {
        builder.RegisterTypes(typeof(DeleteDeviceCache))
            .AsImplementedInterfaces()
            .PropertiesAutowired()
            .InstancePerLifetimeScope();
    }
}